<?php
require_once 'includes/haut.php';
require_once 'includes/donneesFormulaires.php';

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Mat&eacute;riel</title>



		<?php include('includes/headLinks.php');?>
<!-- 		<script type="text/javascript" src="js/jquery.tablesorter.js"></script> -->
<!-- 		<script type="text/javascript" src="js/triTable.js"></script> -->
		<script type="text/javascript" src="js/materiel.js"></script>
	</head>
<body>
	<div id="entete">
	<?php include('includes/entete.php'); ?>
	</div>

	<div id="navigation">




	<?php include('includes/navigation.php'); ?>
	</div>

	<div id="principal">
		<?php 			
			if (!isset ($_GET['act'])||!isset ($_GET['type'])){
				header("Location:index.php");
				exit();
			}
			else {
				$type = $_GET['type'];
				$act = $_GET['act'];
			}?>
			<h2>Mat&eacute;riel <?php echo $act;?> propos&eacute;</h2>
			<h3><?php echo $tabType[$act][$type];?></h3>

<!-- 			<form action="rechercheMat.php" method="post" id="formRecherche"> -->
<!-- 				<div class="recherche"> -->
<!-- 					<input type="search" name= "recherche" id="recherche"/> -->
<!-- 					<input type="submit" name="rechercher" value="Rechercher" /> -->
<!-- 					<input type="hidden" name="action" value="rechercher" /> -->
<!-- 					<div class="suggestionsBox" id="suggestions"> -->
<!-- 			 			<img src="images/icones/upArrow.png"  alt="upArrow" />    -->
<!-- 						<div class="suggestionList" id="autoSuggestionsList"> -->
<!-- 						</div> -->
<!-- 					</div> -->
<!-- 				</div> -->
<!-- 			</form> -->

							
			<?php 

			logosNiveauxMateriel ($tabNiveau[$act],$act,$type);
			?>	
<!-- // 			construction du tableau -->
			<table class="listeMateriel">

			</table>
	
	</div>

	<div id="publicite">




	<?php include('includes/publicite.php'); ?>
	</div>
</body>
</html>
